<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
    <!DOCTYPE html>
    <html lang="zh_CN">

    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>打印</title>
        <link rel="stylesheet" href="${pageContext.request.contextPath}/css/table_print.css">
        <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/bar.png" type="image/x-icon">
        <script src="${pageContext.request.contextPath}/js/print.js"></script>
    </head>

    <body>
        <div class="table" id="table">
            <!--startprint-->
            <table>
                <p>处方单</p>
                <tr>
                    <th>门诊/住院病历号:</th>
                    <td>
                        <div id="number_div">${list.pl_number}</div>
                    </td>
                    <th>日期:</th>
                    <td>
                        <div id="date_div">${list.pl_date}</div>
                    </td>
                </tr>
                <tr>
                    <th>姓名:</th>
                    <td>
                        <div id="name_div">${list.pl_name}</div>
                    </td>
                    <th>性别:</th>
                    <td>
                        <div id="sex_div">${list.pl_sex}</div>
                    </td>
                </tr>
                <tr>
                    <th>年龄:</th>
                    <td>
                        <div id="age_div">${list.pl_age}</div>
                    </td>
                    <th>费别:</th>
                    <td>
                        <div id="expensetype_div">${list.pl_expensetype}</div>
                    </td>
                </tr>
                <tr>
                    <th>临床诊断:</th>
                    <td>
                        <div id="diagnosis_div">${list.pl_diagnosis}</div>
                    </td>
                    <th>科别(病室及病历号):</th>
                    <td>
                        <div id="department_div">${list.pl_department}</div>
                    </td>
                </tr>
                <tr>
                    <th>Rp:</th>
                    <td colspan="3">
                        <pre id="rp_div">${list.pl_rp}</pre>
                    </td>

                </tr>
                <tr>
                    <th>调配:</th>
                    <td>
                        <div id="deployment_div">${list.pl_deployment}</div>
                    </td>
                    <th>复核:</th>
                    <td>
                        <div id="review_div">${list.pl_review}</div>
                    </td>
                </tr>
                <tr>
                    <th>药瓶金额:</th>
                    <td>
                        <div id="amount_div">${list.pl_amount}</div>
                    </td>
                    <th>医生签名:</th>
                    <td>

                    </td>
                </tr>
            </table>
            <!--endprint-->
            <div class="print" id="print">
                <input type="button" value="打印" onclick="print_mr()">
                <input type="button" value="返回" onclick="window.history.back(-1);">
            </div>
        </div>
    </body>

    </html>